﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ReAnimation.MVP.Models.Interfaces;
using ReAnimation.Graphics;
using ReAnimation.Domain;
using ReAnimation.Helpers.Common;

namespace ReAnimation.MVP.Models
{
    public class MoleculeDisplayModel: IMoleculesDisplayModel
    {
        public IDictionary<Molecule, MoleculeDrawer> MoleculeDrawers { get; set; }

        public MoleculeDisplayModel()
        {
            MoleculeDrawers = new Dictionary<Molecule, MoleculeDrawer>();
        }

        public void RadiusAndColorWasUpdated()
        {
            UpdateRadiusAndColor.Throw(this, EventArgs.Empty);
        }

        public event EventHandler UpdateRadiusAndColor;
        
    }
}
